package ch.rouge66.energymonitor;

import java.sql.Timestamp;

import ch.rouge66.energymonitor.dao.Entity;

public class EnergyLogEntry implements Entity {
	
	private Long id;
//	private Date timestamp;
	private Timestamp timestamp;
	private String pinName;
	private String state;
	
	public EnergyLogEntry() {
	}
	public EnergyLogEntry(Long id, Timestamp timestamp, String pinName, String state) {
		super();
		this.id = id;
		this.timestamp = timestamp;
		this.pinName = pinName;
		this.state = state;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPinName() {
		return pinName;
	}
	public void setPinName(String pinName) {
		this.pinName = pinName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Timestamp getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}

}
